package cn.gwm.flink.streaming.dwm.charge.assist.gps;

import cn.gwm.flink.streaming.dwm.charge.bean.ChargeArgs;
import cn.hutool.json.JSONObject;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @ClassName GpsMatch
 * @Description
 * @Author LiangGuang
 * @Date 2023/06/28 15:08
 */
@Data
@Accessors(chain = true)
public abstract class GpsMatch {

    private GpsMatch next;

    public GpsMatch appendNext(GpsMatch next) {
        this.next = next;
        return this;
    }

//    public abstract String doAuth(String uId, String orderId, Date authDate);

    /**
     * 进行 gps的匹配
     *
     * @param summar
     * @param args
     */
    public abstract void match(JSONObject summar, ChargeArgs args) throws Exception;

}
